<?php
interface Ia{
    const ABC ="测试来的";
    public function eat();
}

interface Ib{
    public function sleep();
}

interface AB extends Ia,Ib
{

}
class Test implements AB{
    public function eat()
    {
        echo "吃烧鸡";

    }
    public function sleep()
    {
        echo "写代码 不睡觉";
    }
}

$test = new Test();
$tets->eat();
$tets->sleep();
echo(Ia::ABC);